package com.authManager.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * <p>
 * 【角色信息】实体类
 * </p>
 *
 * @author 小旋风
 * @since 2018-8-13
 */
@TableName("sys_role")
@ApiModel(description="角色信息")
public class SysRole  implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@ApiModelProperty(value = "主键id")
    @TableId(value="sys_role_id", type= IdType.AUTO)
    private Long sysRoleId;
	/**
	 * 角色名
	 */
	@ApiModelProperty(value = "角色名")
    @TableField(value="name")
    private String name;
	/**
	 * 排序号
	 */
	@ApiModelProperty(value = "排序号")
    @TableField(value="seq")
    private Integer seq;
	/**
	 * 简介
	 */
	@ApiModelProperty(value = "简介")
    @TableField(value="description")
    private String description;
	/**
	 * 角色编码
	 */
	@ApiModelProperty(value = "角色编码")
    @TableField(value="role_code")
    private String roleCode;
	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人")
    @TableField(value="creater")
    private String creater;
	/**
	 * 创建日期
	 */
	@ApiModelProperty(value = "创建日期")
    @TableField(value="create_time")
    private Date createTime;
	/**
	 * 修改人
	 */
	@ApiModelProperty(value = "修改人")
    @TableField(value="updater")
    private String updater;
	/**
	 * 修改时间
	 */
	@ApiModelProperty(value = "修改时间")
    @TableField(value="update_time")
    private Date updateTime;
	
	public Long getSysRoleId() {
		return this.sysRoleId;
	}
	
	public SysRole setSysRoleId(Long sysRoleId) {
		this.sysRoleId = sysRoleId;
		return this;
	}

	public String getName() {
		return this.name;
	}
	
	public SysRole setName(String name) {
		this.name = name;
		return this;
	}

	public Integer getSeq() {
		return this.seq;
	}
	
	public SysRole setSeq(Integer seq) {
		this.seq = seq;
		return this;
	}

	public String getDescription() {
		return this.description;
	}
	
	public SysRole setDescription(String description) {
		this.description = description;
		return this;
	}

	public String getRoleCode() {
		return this.roleCode;
	}
	
	public SysRole setRoleCode(String roleCode) {
		this.roleCode = roleCode;
		return this;
	}

	public String getCreater() {
		return this.creater;
	}
	
	public SysRole setCreater(String creater) {
		this.creater = creater;
		return this;
	}

	public Date getCreateTime() {
		return this.createTime;
	}
	
	public SysRole setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}

	public String getUpdater() {
		return this.updater;
	}
	
	public SysRole setUpdater(String updater) {
		this.updater = updater;
		return this;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}
	
	public SysRole setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

}